package com.heima.feign.user;

import com.heima.model.apuser.dtos.AuthDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author rookie001
 * @creat 2023-06-20-14:16
 */
@FeignClient("leadnews-user")
public interface IUserClient {
    //审核用户查看
    @PostMapping("/api/v1/auth/list")
     ResponseResult list(@RequestBody AuthDto dto);
    //通过审核
    @PostMapping("/api/v1/auth/authPass")
    ResponseResult authPass(@RequestBody AuthDto dto);
}
